package com.autohome.wz.business.order.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CfwChargeOrder implements Serializable {
    private Integer id;

    private Integer autoUserId;

    private String ordernum;

    private String qrCode;

    private Integer cfwStationId;

    private Integer cfwEquipmentId;

    private Integer cfwConnectorId;

    private String stationId;

    private String stationName;

    private Integer cityId;

    private String cityName;

    private String equipmentId;

    private String connectorId;

    private Integer equipmentType;

    private String equipmentTypeName;

    private BigDecimal elecPrice;

    private BigDecimal servicePrice;

    private String startDate;

    private String endDate;

    private BigDecimal totalPower;

    private BigDecimal totalElecMoney;

    private BigDecimal totalSeviceMoney;

    private BigDecimal totaMoney;

    private BigDecimal stayCost;

    private String businessOrderId;

    private Integer isDel;

    private Date createdStime;

    private Date modifiedStime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAutoUserId() {
        return autoUserId;
    }

    public void setAutoUserId(Integer autoUserId) {
        this.autoUserId = autoUserId;
    }

    public String getOrdernum() {
        return ordernum;
    }

    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum == null ? null : ordernum.trim();
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode == null ? null : qrCode.trim();
    }

    public Integer getCfwStationId() {
        return cfwStationId;
    }

    public void setCfwStationId(Integer cfwStationId) {
        this.cfwStationId = cfwStationId;
    }

    public Integer getCfwEquipmentId() {
        return cfwEquipmentId;
    }

    public void setCfwEquipmentId(Integer cfwEquipmentId) {
        this.cfwEquipmentId = cfwEquipmentId;
    }

    public Integer getCfwConnectorId() {
        return cfwConnectorId;
    }

    public void setCfwConnectorId(Integer cfwConnectorId) {
        this.cfwConnectorId = cfwConnectorId;
    }

    public String getStationId() {
        return stationId;
    }

    public void setStationId(String stationId) {
        this.stationId = stationId == null ? null : stationId.trim();
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName == null ? null : cityName.trim();
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId == null ? null : equipmentId.trim();
    }

    public String getConnectorId() {
        return connectorId;
    }

    public void setConnectorId(String connectorId) {
        this.connectorId = connectorId == null ? null : connectorId.trim();
    }

    public Integer getEquipmentType() {
        return equipmentType;
    }

    public void setEquipmentType(Integer equipmentType) {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentTypeName() {
        return equipmentTypeName;
    }

    public void setEquipmentTypeName(String equipmentTypeName) {
        this.equipmentTypeName = equipmentTypeName == null ? null : equipmentTypeName.trim();
    }

    public BigDecimal getElecPrice() {
        return elecPrice;
    }

    public void setElecPrice(BigDecimal elecPrice) {
        this.elecPrice = elecPrice;
    }

    public BigDecimal getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(BigDecimal servicePrice) {
        this.servicePrice = servicePrice;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate == null ? null : startDate.trim();
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate == null ? null : endDate.trim();
    }

    public BigDecimal getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public BigDecimal getTotalElecMoney() {
        return totalElecMoney;
    }

    public void setTotalElecMoney(BigDecimal totalElecMoney) {
        this.totalElecMoney = totalElecMoney;
    }

    public BigDecimal getTotalSeviceMoney() {
        return totalSeviceMoney;
    }

    public void setTotalSeviceMoney(BigDecimal totalSeviceMoney) {
        this.totalSeviceMoney = totalSeviceMoney;
    }

    public BigDecimal getTotaMoney() {
        return totaMoney;
    }

    public void setTotaMoney(BigDecimal totaMoney) {
        this.totaMoney = totaMoney;
    }

    public BigDecimal getStayCost() {
        return stayCost;
    }

    public void setStayCost(BigDecimal stayCost) {
        this.stayCost = stayCost;
    }

    public String getBusinessOrderId() {
        return businessOrderId;
    }

    public void setBusinessOrderId(String businessOrderId) {
        this.businessOrderId = businessOrderId == null ? null : businessOrderId.trim();
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Date getCreatedStime() {
        return createdStime;
    }

    public void setCreatedStime(Date createdStime) {
        this.createdStime = createdStime;
    }

    public Date getModifiedStime() {
        return modifiedStime;
    }

    public void setModifiedStime(Date modifiedStime) {
        this.modifiedStime = modifiedStime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CfwChargeOrder other = (CfwChargeOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getAutoUserId() == null ? other.getAutoUserId() == null : this.getAutoUserId().equals(other.getAutoUserId()))
            && (this.getOrdernum() == null ? other.getOrdernum() == null : this.getOrdernum().equals(other.getOrdernum()))
            && (this.getQrCode() == null ? other.getQrCode() == null : this.getQrCode().equals(other.getQrCode()))
            && (this.getCfwStationId() == null ? other.getCfwStationId() == null : this.getCfwStationId().equals(other.getCfwStationId()))
            && (this.getCfwEquipmentId() == null ? other.getCfwEquipmentId() == null : this.getCfwEquipmentId().equals(other.getCfwEquipmentId()))
            && (this.getCfwConnectorId() == null ? other.getCfwConnectorId() == null : this.getCfwConnectorId().equals(other.getCfwConnectorId()))
            && (this.getStationId() == null ? other.getStationId() == null : this.getStationId().equals(other.getStationId()))
            && (this.getStationName() == null ? other.getStationName() == null : this.getStationName().equals(other.getStationName()))
            && (this.getCityId() == null ? other.getCityId() == null : this.getCityId().equals(other.getCityId()))
            && (this.getCityName() == null ? other.getCityName() == null : this.getCityName().equals(other.getCityName()))
            && (this.getEquipmentId() == null ? other.getEquipmentId() == null : this.getEquipmentId().equals(other.getEquipmentId()))
            && (this.getConnectorId() == null ? other.getConnectorId() == null : this.getConnectorId().equals(other.getConnectorId()))
            && (this.getEquipmentType() == null ? other.getEquipmentType() == null : this.getEquipmentType().equals(other.getEquipmentType()))
            && (this.getEquipmentTypeName() == null ? other.getEquipmentTypeName() == null : this.getEquipmentTypeName().equals(other.getEquipmentTypeName()))
            && (this.getElecPrice() == null ? other.getElecPrice() == null : this.getElecPrice().equals(other.getElecPrice()))
            && (this.getServicePrice() == null ? other.getServicePrice() == null : this.getServicePrice().equals(other.getServicePrice()))
            && (this.getStartDate() == null ? other.getStartDate() == null : this.getStartDate().equals(other.getStartDate()))
            && (this.getEndDate() == null ? other.getEndDate() == null : this.getEndDate().equals(other.getEndDate()))
            && (this.getTotalPower() == null ? other.getTotalPower() == null : this.getTotalPower().equals(other.getTotalPower()))
            && (this.getTotalElecMoney() == null ? other.getTotalElecMoney() == null : this.getTotalElecMoney().equals(other.getTotalElecMoney()))
            && (this.getTotalSeviceMoney() == null ? other.getTotalSeviceMoney() == null : this.getTotalSeviceMoney().equals(other.getTotalSeviceMoney()))
            && (this.getTotaMoney() == null ? other.getTotaMoney() == null : this.getTotaMoney().equals(other.getTotaMoney()))
            && (this.getStayCost() == null ? other.getStayCost() == null : this.getStayCost().equals(other.getStayCost()))
            && (this.getBusinessOrderId() == null ? other.getBusinessOrderId() == null : this.getBusinessOrderId().equals(other.getBusinessOrderId()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getCreatedStime() == null ? other.getCreatedStime() == null : this.getCreatedStime().equals(other.getCreatedStime()))
            && (this.getModifiedStime() == null ? other.getModifiedStime() == null : this.getModifiedStime().equals(other.getModifiedStime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getAutoUserId() == null) ? 0 : getAutoUserId().hashCode());
        result = prime * result + ((getOrdernum() == null) ? 0 : getOrdernum().hashCode());
        result = prime * result + ((getQrCode() == null) ? 0 : getQrCode().hashCode());
        result = prime * result + ((getCfwStationId() == null) ? 0 : getCfwStationId().hashCode());
        result = prime * result + ((getCfwEquipmentId() == null) ? 0 : getCfwEquipmentId().hashCode());
        result = prime * result + ((getCfwConnectorId() == null) ? 0 : getCfwConnectorId().hashCode());
        result = prime * result + ((getStationId() == null) ? 0 : getStationId().hashCode());
        result = prime * result + ((getStationName() == null) ? 0 : getStationName().hashCode());
        result = prime * result + ((getCityId() == null) ? 0 : getCityId().hashCode());
        result = prime * result + ((getCityName() == null) ? 0 : getCityName().hashCode());
        result = prime * result + ((getEquipmentId() == null) ? 0 : getEquipmentId().hashCode());
        result = prime * result + ((getConnectorId() == null) ? 0 : getConnectorId().hashCode());
        result = prime * result + ((getEquipmentType() == null) ? 0 : getEquipmentType().hashCode());
        result = prime * result + ((getEquipmentTypeName() == null) ? 0 : getEquipmentTypeName().hashCode());
        result = prime * result + ((getElecPrice() == null) ? 0 : getElecPrice().hashCode());
        result = prime * result + ((getServicePrice() == null) ? 0 : getServicePrice().hashCode());
        result = prime * result + ((getStartDate() == null) ? 0 : getStartDate().hashCode());
        result = prime * result + ((getEndDate() == null) ? 0 : getEndDate().hashCode());
        result = prime * result + ((getTotalPower() == null) ? 0 : getTotalPower().hashCode());
        result = prime * result + ((getTotalElecMoney() == null) ? 0 : getTotalElecMoney().hashCode());
        result = prime * result + ((getTotalSeviceMoney() == null) ? 0 : getTotalSeviceMoney().hashCode());
        result = prime * result + ((getTotaMoney() == null) ? 0 : getTotaMoney().hashCode());
        result = prime * result + ((getStayCost() == null) ? 0 : getStayCost().hashCode());
        result = prime * result + ((getBusinessOrderId() == null) ? 0 : getBusinessOrderId().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getCreatedStime() == null) ? 0 : getCreatedStime().hashCode());
        result = prime * result + ((getModifiedStime() == null) ? 0 : getModifiedStime().hashCode());
        return result;
    }
}